package com.augurit.gzcgwsp.sendNotice.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "YW_PUBLIC_OPINIONS")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwPublicOpinions implements java.io.Serializable {



	
	// 属性	
	private String acceptNo;//受理号
	
	private String opinion;//意见
	
	private String calls;//调用方
	
	private String ifAgreed;//是否同意
	
	private Date submitTime;//提交时间
	
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_PUBLIC_OPINIONS", sequenceName="SEQ_YW_PUBLIC_OPINIONS", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_PUBLIC_OPINIONS")
	private Long id;

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAcceptNo() {
		return acceptNo;
	}
	public void setAcceptNo(String acceptNo) {
		this.acceptNo = acceptNo;
	}
	public String getOpinion() {
		return opinion;
	}
	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}
	public String getCalls() {
		return calls;
	}
	public void setCalls(String calls) {
		this.calls = calls;
	}
	public String getIfAgreed() {
		return ifAgreed;
	}
	public void setIfAgreed(String ifAgreed) {
		this.ifAgreed = ifAgreed;
	}
	public Date getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}
	
	
	
}
